home *** CD-ROM | disk | FTP | other *** search
- Here are the diffs for groff-1.05.
-
- I compiled this with gcc-2.1 at patchlevel 2.
- Note that this is c++ source !
-
- To compile, you need a lot of free memory. I managed to get through
- with 3.4 Mb of free ram, but then I had to handcompile pic.tab.c.
- (That is, if I ran make, I didn't have enough memory)
- You might be able to compile it with less mem if you skip
- optimization.
-
- You also have to use the mintlibraries (Patchlevel 19 or better),
- since this system relies heavily on functions only available in
- mint.
- Additionally you must make a few changes to the include files:
-
- a)
- In errno.h, change the definition of generic error
- to something else than ERROR.
- I use "#define G_ERROR 1 /* generic error */"
- b)
- In wait.h
- "#define w_retcode _w_retcode" needs to be changed into
- "#define w_retcode _w.retcode"
- (This might allready have been fixed)
- I also added a line:
- "__EXTERN int wait __PROTO((union wait *exit_code));"
- I'm not quite sure whether this is _really_ correct, but
- heck, it works :-)
-
- You might expect some trouble if you are on a machine without a math
- co-processor, as I have not tested this with pml at all. Because I
- have a TT, I exchanged fpu.h in the mint-directory with math-68881.h
- from the gcc-distribution, and this inlines (in assembly) all the
- functions that pml usually takes care of.
-
- (btw. pml stands for the Portable Math Library, pml.olb)
-
- To apply the diffs:
- Extract the original FSF distribution of groff-1.05 somewhere.
- cd to the groff-1.05 directory
- rm -f pic/pic.tab.h pic/pic.tab.c pic/y.output
- patch -p1 < atari-groff.dif
-
- Then type make, make yourself a HUGE can of coffee, and watch the
- screen for some hours (on an ST, this is going to take a LONG time)
-
- If everything goes well, make install.
-
- Hint:
- If you haven't allready installed a minix filesystem, this
- might be a good time to do it. It makes such a GREAT difference to
- see those long filenames exactly as they should be without that
- (according to the authour himself) ugly UNIXMODE hack.
-
- Thanx
- To Eric Smith for MiNT
- To bammi and helpers for gcc
- and of course to GNU for making all of this possible.
-
- Erling Henanger
- erlingh@idt.unit.no
-
- PS:
- I also include a simple script I use for formatting/reading man-pages.
- This first checks $MANPATH/cat[1-9] for a formatted man-page.
- If it fails, it checks to see if there exists a formatted and compressed
- manpage in $MANPATH/cat[1-9]
- If that fails, it checks to see if there exists an unformatted
- man-page in $MANPATH/man[1-9], and if it exists, it uses groff to
- format it, and then compresses it and stores it in $MANPATH/cat[1-9]
- for quicker reading next time.
-
- Cheers.
-